package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI3;

public class DongVat {
	private String BietChay, BietNgu, TenDoituong;
	private int SoMat, SoChan;

	public String getTenDoituong() {
		return TenDoituong;
	}

	public void setTenDoituong(String tenDoituong) {
		TenDoituong = tenDoituong;
	}

	public int getSoMat() {
		return SoMat;
	}

	public void setSoMat(int soMat) {
		SoMat = soMat;
	}

	public int getSoChan() {
		return SoChan;
	}

	public void setSoChan(int soChan) {
		SoChan = soChan;
	}

	public DongVat() {
		TenDoituong = "";
		SoMat = 2;
		SoChan = 2;
		BietChay = "Biet chay";
		BietNgu = "Biet ngu";
	}

	public String getBietChay() {
		return BietChay;
	}

	public void setBietChay(String bietChay) {
		BietChay = bietChay;
	}

	public String getBietNgu() {
		return BietNgu;
	}

	public void setBietNgu(String bietNgu) {
		BietNgu = bietNgu;
	}
}
